#include "rclcpp/rclcpp.hpp"
#include "fake_odom/FakeOdometry.h"

int main(int argc, char** argv)
{
  rclcpp::init(argc, argv);
  auto node = std::make_shared<FakeOdometry>();

  if (!node->init()) {
    throw std::runtime_error("Failed to initialize FakeLaser node");
  }
  
  RCLCPP_INFO_STREAM(node->get_logger(), "fake_odom_node start!");

  rclcpp::spin(node);
  rclcpp::shutdown();
  return 0;
}